package com.jemmyee.pizza.service;

import java.io.Serializable;
import java.util.List;

import org.hibernate.criterion.DetachedCriteria;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jemmyee.core.dao.Page;
import com.jemmyee.pizza.dao.ISurrogateCCBDao;
import com.jemmyee.pizza.entity.SurrogateCCB;
@Service("surrogateCCBService")
public class SurrogateCCBServiceImpl implements ISurrogateCCBService {
	@Autowired
	private ISurrogateCCBDao surrogateCCBDao;

	public void delete(SurrogateCCB entity) {
		// TODO Auto-generated method stub
		
	}

	public void deleteAll(List<SurrogateCCB> list) {
		// TODO Auto-generated method stub
		
	}

	public void deleteById(Serializable id) {
		// TODO Auto-generated method stub
		
	}

	public List<SurrogateCCB> findAll() {
		// TODO Auto-generated method stub
		return null;
	}

	public List<SurrogateCCB> findByCriteria(DetachedCriteria criteria) {
		// TODO Auto-generated method stub
		return null;
	}

	public SurrogateCCB findById(Serializable id) {
		// TODO Auto-generated method stub
		return null;
	}

	public List<SurrogateCCB> findByProperty(String propertyName, Object value) {
		// TODO Auto-generated method stub
		return null;
	}

	public Page findPageByCriteria(DetachedCriteria detachedCriteria,
			int pageSize, int startIndex, String order) {
		return surrogateCCBDao.findPageByCriteria(detachedCriteria, pageSize, startIndex, order);
	}

	public void save(SurrogateCCB entity) {
		surrogateCCBDao.save(entity);
	}

	public void update(SurrogateCCB entity) {
		// TODO Auto-generated method stub
		
	}
	

	

}
